package com.healthcloud.entity;

import lombok.Data;
import org.apache.ibatis.type.Alias;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

/**
 * @Author yucl
 * @date 2018/7/24
 */
@Data
@Alias("BpUploadModel")
public class BpUploadModel implements Serializable {

    @NotBlank(message = "用户编号不能为空")
    private String user;

    @NotBlank(message = "高压值不能为空")
    private String sys;

    @NotBlank(message = "低压值不能为空")
    private String dia;

    @NotBlank(message = "心跳值不能为空")
    private String pul;

    @NotBlank(message = "心律情况未给出")
    private String ano;

    @NotBlank(message = "测量时间不能为空")
    private String time;

    @NotBlank(message = "设备IMEI码不能为空")
    private String imei;

    // 创建时间
    private String createTime;
    private String idCard;
}
